<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>SpringCloud微服务</title>
    <link rel="icon" type="image/x-icon" href="/images/ico.ioc"/>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
</head>
<body>
    <form th:action="@{/consumer/upload}" method="post" enctype="multipart/form-data">
        姓名: <input type="text" name="name" id="name" value="demo" /><br/>
        照片: <input type="file" name="photo" id="photo" /><br/>
        <input type="submit" value="提交" />
        <input type="reset" value="重置" />
    </form>
</body>
</html>